import 'dart:convert';
/// page : 1
/// pageSize : 1

DishesParam dishesParamFromJson(String str) => DishesParam.fromJson(json.decode(str));
String dishesParamToJson(DishesParam data) => json.encode(data.toJson());
class DishesParam {
  DishesParam({
      num? page, 
      num? pageSize,}){
    _page = page;
    _pageSize = pageSize;
}

  DishesParam.fromJson(dynamic json) {
    _page = json['page'];
    _pageSize = json['pageSize'];
  }
  num? _page;
  num? _pageSize;
DishesParam copyWith({  num? page,
  num? pageSize,
}) => DishesParam(  page: page ?? _page,
  pageSize: pageSize ?? _pageSize,
);
  num? get page => _page;
  num? get pageSize => _pageSize;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['page'] = _page;
    map['pageSize'] = _pageSize;
    return map;
  }

}